home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20010921-20020314 / 000181_jfmezei.spamnot@videotron.ca_Fri Nov 30 11:41:12 EST 2001.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  38 lines

  1. Article: 13005 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!sunqbc.risq.qc.ca!wesley.videotron.net!weber.videotron.net.POSTED!not-for-mail
  3. Message-ID: <3C07B621.43E03A24@videotron.ca>
  4. From: JF Mezei <jfmezei.spamnot@videotron.ca>
  5. X-Mailer: Mozilla 4.76 (Macintosh; U; PPC)
  6. X-Accept-Language: en
  7. MIME-Version: 1.0
  8. Newsgroups: comp.protocols.kermit.misc,comp.os.vms
  9. Subject: Re: How to use Kermit within a VMS command procedure?
  10. References: <de844d64.0111291335.6c275174@posting.google.com> <9u6an3$egb$1@newsmaster.cc.columbia.edu>
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. Lines: 17
  14. Date: Fri, 30 Nov 2001 11:39:02 -0500
  15. NNTP-Posting-Host: 24.202.14.25
  16. X-Complaints-To: abuse@videotron.ca
  17. X-Trace: weber.videotron.net 1007138262 24.202.14.25 (Fri, 30 Nov 2001 11:37:42 EST)
  18. NNTP-Posting-Date: Fri, 30 Nov 2001 11:37:42 EST
  19. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13005 comp.os.vms:311418
  20.  
  21. re: using kermit in a command procedure:
  22.  
  23. $define/user/nolog sys$command sys$input
  24. $run kermit.exe
  25. set line TXC1:
  26. set speed 38000
  27. etc
  28. SEND myfile.txt
  29. exit
  30. $write sys$output "done"
  31.  
  32. Another way to do this is to have kermit invoke a script and let the script do
  33. all the processing
  34.  
  35. I don't think that the old kermit-32 has access to cli symbols and logicals
  36. for its scripting, but you can still define a logical name "myfile" before
  37. invoking kermit and in kermit, you use a command such as "send myfile"
  38.